package pc.sql.column;

import pc.sql.Column;

/**
 * This class represents a java.sql.Date column.
 *
 * @author Hans Bergsten, Gefion software <hans@gefionsoftware.com>
 * @version 1.0
 */
public class DateColumn extends Column
{
    private java.sql.Date value;

    public DateColumn(String name, java.sql.Date value) {
        super(name);
        this.value = value;
    }

    public java.sql.Date getDate() {
        return value;
    }

    public String getString() {
        return value.toString();
    }
}
